<template>
  <div class="child">
    <h3>我是child2</h3>
    <p>我的count的值是{{count}}</p>
  </div>
</template>

<script>
export default {
    name:"Props",
    data(){
        return{
            count:0
        }
    }
}
</script>

<style scoped>
.child{
    background:aquamarine
}
</style>